﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://filedistributor.configuration.filedistributorSection" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="fileDistributor">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ftpServerConnections">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ftpServerConnection">
                <xs:complexType>
                  <xs:attribute name="name" type="xs:string" use="required" />
                  <xs:attribute name="host" type="xs:string" use="required" />
                  <xs:attribute name="username" type="xs:string" use="required" />
                  <xs:attribute name="password" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="pickupLocations">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="pickupLocation">
                <xs:complexType>
                  <xs:attribute name="name" type="xs:string" use="required" />
                  <xs:attribute name="localPath" type="xs:string" use="required" />
                  <xs:attribute name="ftpServerConnection" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>